
package org.example.baseinfo.repository;

import org.example.baseinfo.entity.SchoolEntity;

import java.util.List;

public interface ISchoolRepository extends BaseRepository<SchoolEntity> {

    SchoolEntity findByDeleteStatusAndSchoolCode(Short deleteStatus,String code);

    SchoolEntity findByIdAndDeleteStatus(String id,Short deleteStatus);

    List<SchoolEntity> findByDeleteStatus(Short deleteStatus);

    SchoolEntity findBySchoolNameLikeAndDeleteStatus(String name,Short deleteStatus);
}
